<?php


namespace app\common\model;


use think\Model;
class Smscode extends Model
{
    static public function get($mobile)
    {
        $details = self::where(['mobile' => $mobile])->find();
        return $details['code'];
    }
}